E-commerce is the buying and selling of goods and services over the Internet. It is done through computers, tablets, smartphones, and other smart devices. Almost anything can be purchased through e-commerce today. It can be a substitute for brick-and-mortar stores, though some businesses choose to maintain both. There are three main types of e-commerce: B2B websites such as Shopify, B2C websites such as Amazon, Flipkart, and Consumer-to-Consumer websites such as eBay.